<?php

namespace app\http\middleware;
/**
 * Class IeCheck
 * @package app\http\middleware
 * Author: LCY<409028735@qq.com>
 * Time: 2021/12/2 13:27
 * Note:访问系统的浏览器不能是ie的检测
 */
class IeCheck
{
    public function handle($request, \Closure $next)
    {
        if (get_browser_type() == 'ie') {
            return view('common@public/ie');
        }

        return $next($request);
    }
}
